package com.ruoyi.project.yingyu.withdraw.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 提现管理对象 user_withdraw
 * 
 * @author shixiangwen
 * @date 2020-02-14
 */
public class UserWithdraw extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** id */
	private Long id;

	/** kkid */
	@Excel(name = "kkid")
	private Long kkid;

	/** 提现金额(分) */
	@Excel(name = "提现金额(分)")
	private Long fee;

	/** 状态 */
	@Excel(name = "状态")
	private Long status;

	/** 微信openid */
	@Excel(name = "微信openid")
	private String openid;

	/** 审核状态 */
	@Excel(name = "审核状态")
	private Long approve;

	/** 审核用户 */
	@Excel(name = "审核用户")
	private String approveBy;

	/** 审核时间 */
	@Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date approveTime;

	/** 转帐状态 */
	@Excel(name = "转帐状态")
	private Long transfer;

	/** 转帐用户 */
	@Excel(name = "转帐用户")
	private String transferBy;

	/** 转帐时间 */
	@Excel(name = "转帐时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date transferTime;

	/** 提现ip */
	@Excel(name = "提现ip")
	private String ip;

	/** 元 */
	private BigDecimal yuan;

	private String nickname;

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setKkid(Long kkid) {
		this.kkid = kkid;
	}

	public Long getKkid() {
		return kkid;
	}

	public void setFee(Long fee) {
		this.fee = fee;
	}

	public Long getFee() {
		return fee;
	}

	public void setStatus(Long status) {
		this.status = status;
	}

	public Long getStatus() {
		return status;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getOpenid() {
		return openid;
	}

	public void setApprove(Long approve) {
		this.approve = approve;
	}

	public Long getApprove() {
		return approve;
	}

	public void setApproveBy(String approveBy) {
		this.approveBy = approveBy;
	}

	public String getApproveBy() {
		return approveBy;
	}

	public void setApproveTime(Date approveTime) {
		this.approveTime = approveTime;
	}

	public Date getApproveTime() {
		return approveTime;
	}

	public void setTransfer(Long transfer) {
		this.transfer = transfer;
	}

	public Long getTransfer() {
		return transfer;
	}

	public void setTransferBy(String transferBy) {
		this.transferBy = transferBy;
	}

	public String getTransferBy() {
		return transferBy;
	}

	public void setTransferTime(Date transferTime) {
		this.transferTime = transferTime;
	}

	public Date getTransferTime() {
		return transferTime;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getIp() {
		return ip;
	}

	public BigDecimal getYuan() {
		return yuan;
	}

	public void setYuan(BigDecimal yuan) {
		this.yuan = yuan;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("kkid", getKkid()).append("fee", getFee()).append("createTime", getCreateTime())
				.append("status", getStatus()).append("openid", getOpenid()).append("approve", getApprove()).append("approveBy", getApproveBy()).append("approveTime", getApproveTime())
				.append("transfer", getTransfer()).append("transferBy", getTransferBy()).append("transferTime", getTransferTime()).append("ip", getIp()).toString();
	}
}
